package com.hk.springsecurity01.dao;

import com.hk.springsecurity01.entity.UserEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * @author by 何坤
 * @Classname UserEntityRepository
 * @Description TODO
 * @Date 2019/11/28 16:20
 */
public interface UserEntityRepository extends JpaRepository<UserEntity, Integer>, JpaSpecificationExecutor<UserEntity> {
    UserEntity findByPhone(String phone);
}
